package com.gopay.common.domain;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * 日终余额统计
 * @User4Amount.java
 * @author 曹永峰
 */
@Entity
@Table(name = "STATC_ACCT_DAYEND_INFO")
public class User4Amount extends BaseEntity {
	private static final long serialVersionUID = -8638818774396718093L;
	
	private Long sq;

	private BigDecimal dayCurBal;

	private BigDecimal dayLockAmt;

	private BigDecimal totalCreditAmt;

	private BigDecimal totalDebitAmt;


	private String remark;

	private int dayCreditCount;

	private int dayDebitCount;
	
	private String acctId;
	 
	private String stlmDate;
	
	private Date lastUpdTs;
	
	private Date createdTs;
	
	private String lastUpdTrancode;
	
	public User4Amount() {

	}

	@Column(name = "DAY_CUR_BAL", nullable = false)
	public BigDecimal getDayCurBal() {
		return dayCurBal;
	}

	public void setDayCurBal(BigDecimal dayCurBal) {
		this.dayCurBal = dayCurBal;
	}
	@Column(name = "DAY_LOC_BAL", nullable = false)
	public BigDecimal getDayLockAmt() {
		return dayLockAmt;
	}

	public void setDayLockAmt(BigDecimal dayLockAmt) {
		this.dayLockAmt = dayLockAmt;
	}

	@Id
	@Column(name = "SQ")
	public Long getSq() {
		return sq;
	}

	public void setSq(Long sq) {
		this.sq = sq;
	}

	@Column(name = "REMARKS")
	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}
	@Column(name = "DAY_CREDIT_AMT", nullable = false)
	public BigDecimal getTotalCreditAmt() {
		return totalCreditAmt;
	}

	public void setTotalCreditAmt(BigDecimal totalCreditAmt) {
		this.totalCreditAmt = totalCreditAmt;
	}
	@Column(name = "DAY_DEBIT_AMT", nullable = false)
	public BigDecimal getTotalDebitAmt() {
		return totalDebitAmt;
	}

	public void setTotalDebitAmt(BigDecimal totalDebitAmt) {
		this.totalDebitAmt = totalDebitAmt;
	}
	
	public void setDayCreditCount(int dayCreditCount) {
		this.dayCreditCount = dayCreditCount;
	}
	
	@Column(name = "DAY_CREDIT_COUNT", nullable = false)
	public int getDayCreditCount() {
		return dayCreditCount;
	}

	public void setDayDebitCount(int dayDebitCount) {
		this.dayDebitCount = dayDebitCount;
	}
	
	@Column(name = "DAY_DEBIT_COUNT	", nullable = false)
	public int getDayDebitCount() {
		return dayDebitCount;
	}
	@Column(name = "ACCT_ID", nullable = false, length = 20)
	public String getAcctId() {
		return acctId;
	}
	
	public void setAcctId(String acctId) {
		this.acctId = acctId;
	}

	@Column(name = "STLM_DATE", nullable = false)
	public String getStlmDate() {
		return stlmDate;
	}
	
	public void setStlmDate(String stlmDate) {
		this.stlmDate = stlmDate;
	}
	@Column(name = "LAST_UPD_TS")
	public Date getLastUpdTs() {
		return lastUpdTs;
	}

	public void setLastUpdTs(Date lastUpdTs) {
		this.lastUpdTs = lastUpdTs;
	}
	@Column(name = "CREATED_TS")
	public Date getCreatedTs() {
		return createdTs;
	}

	public void setCreatedTs(Date createdTs) {
		this.createdTs = createdTs;
	}
	@Column(name = "LAST_UPD_TRANCODE")
	public String getLastUpdTrancode() {
		return lastUpdTrancode;
	}

	public void setLastUpdTrancode(String lastUpdTrancode) {
		this.lastUpdTrancode = lastUpdTrancode;
	}
	
	
}
